Implementing Linear Regression From Scratch